<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>

<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/css/styles.css"/>

<form:form id="formSearch" commandName="zapatoSearch" action="${pageContext.request.contextPath}/zapato/list.htm">
	<table class="table">
		<tr><td class="tdtitle" colspan="2">
			<spring:message code="zapato.title.search"/>
		</td></tr>
		<tr>
			<td width="50%">
				<spring:message code="zapato.id"/>
			</td>
			<td>
				<form:input path="id"/>
				<form:errors path="id" cssClass="error" />
			</td>
		</tr>
		<tr>
			<td width="50%">
				<spring:message code="zapato.talle"/>
			</td>
			<td>
				<form:input path="talle"/>
				<form:errors path="talle" cssClass="error" />
			</td>
		</tr>
		<tr>
			<td width="50%">
				<spring:message code="zapato.color"/>
			</td>
			<td>
				<form:input path="color"/>
				<form:errors path="color" cssClass="error" />
			</td>
		</tr>
		<tr>
			<td width="50%">
				<spring:message code="zapato.marca"/>
			</td>
			<td>
				<form:input path="marca"/>
				<form:errors path="marca" cssClass="error" />
			</td>
		</tr>
		<tr>
			<td colspan="2" class="tdtitle">
				<input type="submit" value="<spring:message code="submit"/>" class="groovybutton" style=""/>
			</td>
		</tr>
	</table>
</form:form>

<form:form action="${pageContext.request.contextPath}/zapato/create.htm">
	<table class="table">
		<tr><td class="tdtitle">
			<spring:message code="zapato.title.create"/>
		</td></tr>
		<tr>
			<td class="tdtitle">
				<input type="submit" value="<spring:message code="submit"/>" class="groovybutton" style=""/>
			</td>
		</tr>
	</table>
</form:form>

<table style="margin-left:auto;margin-right:auto">
	<tr>
		<td>
			<a href="${pageContext.request.contextPath}"><img height="50px" src="${pageContext.request.contextPath}/images/home.gif" alt="Home"></a>
		</td>
	</tr>		
</table>

